package com.jkt.rms.dataservice;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.jkt.rms.business.AppRole;
import com.jkt.rms.business.Users;
import com.jkt.rms.commons.utils.RMSException;


public interface UserDataService  {
	
	public AppRole validateUser(String empCode , String password);
	public void updateUser(Users userData) throws RMSException;
	public Users getUserData(String userData);
	public Users saveUsers(Users user) throws RMSException;
	public List<Users> findAll();
	public List<Users> findByCriteria(DetachedCriteria crit) ;
	public void updateUserData(Users user) throws RMSException ;
	}
